/* GENERIC HEADER */
.generic-header {
    padding: 70px 0px;
}
.generic-header .w-700 {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.generic-header .w-700 h1 {
    color: #FFFFFF;
    font-weight: 600;
}

/* HOMEPAGE HEADER */
.homepage-header {
    padding: 100px 50px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.homepage-header h1 {
    font-weight: 600;
    color: #184767;
    margin-bottom: 20px;
}
.homepage-header h5 {
    font-weight: 600;
    color: #184767;
    margin-bottom: 50px;
}
.homepage-header a {
    background-color: #F3B431;
    font-size: 18px;
    font-weight: 600;
    padding: 15px 70px;
    color: #FFFFFF;
}
.homepage-header a:hover {
    opacity: 0.9;
    text-decoration: none;
}

@media screen and (min-width: 1020px) {
    .homepage-header {
        padding-left: 200px;
    }
}
/* IMAGE */
.image img {
    width: 100%;
}

/* LINE SEPARATOR */
.line-separator {
    position: relative;
    height: 13px;
    border-bottom: solid 2px #1DACA8;
    margin: 50px 0px;
}
.line-separator:before {
    content: '';
    position: absolute;
    right: 5px;
    top: 5px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #1DACA8;
    z-index: 1;
}
.line-separator:after {
    content: '';
    position: absolute;
    right: 0px;
    top: 0px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: solid 2px #1DACA8;
    background-color: #FFFFFF;
}

/* TEXT EDITOR */
.text-editor h1, .text-editor h2, .text-editor h3, .text-editor h4, .text-editor h5, .text-editor h6, .text-editor span, .text-editor p, .text-editor ul li {
    color: #292929;
}
.text-editor h4, .text-editor h5, .text-editor h6, .text-editor ul li, .text-editor span, .text-editor p {
    line-height: 40px;
}

/* VIDEO */
.video .video-part iframe {
    width: 100%;
}
.video .description a {
    font-weight: 600;
    color: #5FACD0;
    text-decoration: underline;
}

/* CAREERS */
.careers h5 {
    color: #292929;
    margin-bottom: 50px;
}
.careers h6 {
    color: #F3B431;
}
.careers .position-category:first-child {
    margin-top: 0px;
}
.careers .position-category {
    margin-top: 50px;
}
.careers .position-category .position-item .row > div:first-child span {
    text-decoration: underline;
}
.careers .position-category .position-item a {
    color: #292929;
    line-height: 40px;
}

/* GOOGLE MAP */
.google-map {
    width: 100%;
    height: 400px;
    margin-bottom: 40px;
}

/* CONTACT FORM */
.contact-form {
    margin-top: 50px;
}
.contact-form .form-control {
    color: #292929;
    border: solid 1px #5FACD0;
    border-radius: 0px;
    padding: 5px 15px;
    margin-top: 20px;
}
.contact-form .form-check {
    padding-left: 40px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.contact-form .form-check input[type="checkbox"] {
    position: absolute;
    left: 20px;
    top: -3px;
    width: 20px;
    height: 20px;
    opacity: 0;
}
.contact-form .form-check input[type="checkbox"]:checked + .check-mark:after {
    content:"\A";
    position: absolute;
    top: 5px;
    left: 5px;
    width: 8px;
    height: 8px;
    background-color: #5FACD0;
}
.contact-form .check-mark {
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border: solid 1px #5FACD0;
}
.contact-form .submit-btn-wrapper {
    margin-top: 20px;
    margin-bottom: 20px;
}
.contact-form .submit-btn {
    color: #F3B431;
    border: solid 1px #F3B431;
    background: #FFFFFF;
    padding: 10px 40px;
    height: fit-content;
    text-decoration: none;
}
.contact-form .submit-btn:focus {
    outline: none;
}
.contact-form .submit-btn:hover {
    opacity: 0.9;
}
.contact-form .submit-result.success span {
    color: #292929;
}
.contact-form .submit-result.error span {
    color: red;
}

/* TEXT SEPARATOR */
.text-separator {
    width: 100%; 
    text-align: left; 
    color: #F3B431;
    border-bottom: 2px solid #184767; 
    line-height: 0.1em;
    margin-top: 40px;
    margin-bottom: 40px;
}
.text-separator span { 
    background: #FFFFFF;
    padding-right: 10px;
    line-height: unset;
    font-size: unset;
}

/* BUTTON */
.button {
    padding-top: 20px;
    padding-bottom: 20px;
}
.button a {
    color: #FFFFFF;
    font-weight: 600;
    background-color: #F3B431;
    padding: 15px 40px;
}
.button a:hover {
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .button {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .button a {
        padding: 10px 10px;
    }
}

/* HOMEPAGE PORTFOLIO */
.homepage-portfolio {
    position: relative;
    padding: 70px 50px;
}
.homepage-portfolio .vector {
    position: absolute;
    width: 25%;
    min-width: 300px;
    right: 0;
    bottom: 0;
    opacity: 0.3;
}
.homepage-portfolio h5 {
    max-width: 700px;
    margin: 0 auto;
    margin-bottom: 70px;
    text-align: center;
}
.homepage-portfolio h5, .homepage-portfolio .presentation span {
    color: #292929;
}
.homepage-portfolio .presentation img {
    width: 100%;
    margin-bottom: 40px;
    box-shadow: 5px 8px 27px rgba(0, 0, 0, 0.4);
}

/* HOMEPAGE SERVICES */
.homepage-services {
    position: relative;
    overflow: hidden;
    box-shadow: 10px 0px 35px rgba(0, 0, 0, 0.4);
}
.homepage-services .left {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.homepage-services .right {
    z-index: 1;
    padding: 40px 40px 70px 40px;
    max-width: 600px;
}
.homepage-services h5 {
    margin-bottom: 20px;
    color: white;
    font-weight: 600;
}
.homepage-services span {
    color: white;
}
.homepage-services .categories {
    padding-left: 20px;
    margin-top: 20px;
    margin-bottom: 40px;
}
.homepage-services .categories p {
    display: list-item;
    margin-bottom: 5px;
    color: white;
}
.homepage-services .right a {
    background-color: #F3B431;
    font-size: 18px;
    font-weight: 600;
    padding: 15px 70px;
    color: #FFFFFF;
}
.homepage-services a:hover {
    opacity: 0.9;
    text-decoration: none;
}
.homepage-services .right-rect {
    position: absolute;
    right: -10%;
    top: 0;
    width: 70%;
    height: 100%;
    transform: skewX(25deg);
}
.homepage-services .right-background-rect {
    position: absolute;
    right: 0px;
    top: 1px;
    width: 50%;
    height: 100%;
}

@media screen and (max-width: 1500px) {
    .homepage-services .right-rect {
        display: none;
    }
    .homepage-services .right-background-rect {
        top: 0px;
    }
}

@media screen and (max-width: 991px) {
    .homepage-services .right {
        margin: 0 auto;
    }
    .homepage-services .right-background-rect {
        width: 100%;
    }
}

/* HOMEPAGE THERAPEUTIC  */
.homepage-therapeutic {
    position: relative;
}
.homepage-therapeutic > div {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 80px 0px;
}
.homepage-therapeutic .vector1 {
    position: absolute;
    left: 0;
    width: 20%;
    min-width: 300px;
    opacity: 0.3;
}
.homepage-therapeutic .vector2 {
    position: absolute;
    width: 80%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.3;
}
.homepage-therapeutic h5 {
    font-weight: 600;
    color: #292929;
    margin-bottom: 40px;
}
.homepage-therapeutic span {
    color: #292929;
}
.homepage-therapeutic .diagram {
    padding: 30px 0px 70px 0px;
}
.homepage-therapeutic .diagram .first-line > div {
    margin: 0 auto;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background-image: linear-gradient(#5FACD0, #0D3E61);
}
.homepage-therapeutic .diagram .first-line h5 {
    padding-top: 45px;
    color: #FFFFFF;
}
.homepage-therapeutic .diagram .second-line {
    margin-top: 50px;
}
.homepage-therapeutic .diagram .second-line > div {
    margin: 0 auto;
    padding: 3px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background-image: linear-gradient(#5FACD0, #0D3E61);
}
.homepage-therapeutic .diagram .second-line > div > div {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #FFFFFF;
}
.homepage-therapeutic .diagram .second-line h5 {
    padding-top: 45px;
    color: #1DACA8;
}
.homepage-therapeutic a {
    border: solid 1px #1DACA8;
    font-size: 18px;
    font-weight: 600;
    padding: 15px 70px;
    color: #1DACA8;
}
.homepage-therapeutic a:hover {
    opacity: 0.9;
    text-decoration: none;
}

@media screen and (max-width: 767px) {
    .homepage-therapeutic > div {
        padding: 100px 0px;
    }
    .homepage-therapeutic .row {
        margin-left: 0px;
        margin-right: 0px;
    }
    .homepage-therapeutic .diagram .first-line > div, .homepage-therapeutic .diagram .second-line > div {
        width: 100px;
        height: 100px;
    }
    .homepage-therapeutic .diagram h5 {
        padding-top: 35px !important;
    }
}

/* HOMEPAGE CAREERS */
.homepage-careers {
    padding: 70px 0px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 10px 0px 35px rgba(0, 0, 0, 0.4);
}
.homepage-careers > div {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.homepage-careers .title {
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 50px;
}
.homepage-careers span {
    color: #FFFFFF;
}
.homepage-careers .opportunities {
    margin-top: 50px;
    margin-bottom: 70px;
}
.homepage-careers .opportunities h6 {
    color: #FFFFFF;
    font-weight: 600;
    text-decoration: underline;
    margin-bottom: 20px;
}
.homepage-careers a {
    background-color: #F3B431;
    font-size: 18px;
    font-weight: 600;
    padding: 15px 70px;
    color: #FFFFFF;
}
.homepage-careers a:hover {
    opacity: 0.9;
    text-decoration: none;
}

/* HOMEPAGE NEWS */
.homepage-news {
    padding-bottom: 20px;
    text-align: center;
}
.homepage-news .news-header span {
    color: #FFFFFF;
}
.homepage-news .news-header, .homepage-news .news-footer {
    max-width: 700px;
    margin: 0 auto;
}
.homepage-news > div {
    position: relative;
}
.homepage-news > div .back-rect {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    padding-bottom: 80px;
}
.homepage-news > div .back-rect > div {
    width: 100%;
    height: 100%;
    box-shadow: 10px 0px 35px rgba(0, 0, 0, 0.4);
}
.homepage-news h5 {
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 30px;
    padding-top: 70px;
}
.homepage-news .row {
    margin-left: 0px;
    margin-right: 0px;
}
.homepage-news .posts {
    margin-top: 60px;
    margin-bottom: 60px;
    padding: 0px 20px;
}
.homepage-news .posts .post {
    text-align: center;
    box-shadow: 10px 0px 35px rgba(0, 0, 0, 0.4);
}
.homepage-news .posts .post-image {
    position: relative;
    width: 100%;
    padding-top: 75%;
}
.homepage-news .posts .post-detail {
    background: #FFFFFF;
    padding: 10px 20px 40px 20px;
}
.homepage-news .posts .post-date {
    font-size: 14px;
    font-style: italic;
    color: #5FACD0;
}
.homepage-news .posts .post-title {
    max-width: 250px;
    margin: 0 auto;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 40px;
}
.homepage-news .posts .post-image > div {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.homepage-news .posts .read-more {
    background-color: #F3B431;
    padding: 10px 40px;
    color: #FFFFFF;
}
.news-header .news-footer span {
    color: #292929;
}
.homepage-news .news-footer > div {
    margin-top: 50px;
}
.homepage-news .read-all {
    font-size: 18px;
    font-weight: 600;
    color: #F3B431;
    border: solid 1px #F3B431;
    padding: 15px 70px;
}
.homepage-news .read-all:hover, .homepage-news .read-more:hover {
    opacity: 0.9;
    text-decoration: none;
}

@media screen and (max-width: 767px) {
    .homepage-news .posts > div:first-child {
        margin-top: 0px;
    }
    .homepage-news .posts > div {
        margin-top: 40px;
    }
}

/* EVERGREEN LIST */
.evergreen-list {
    padding: 50px 50px;
    color: white;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}
.evergreen-list .headline {
    margin-bottom: 30px;
}
.evergreen-list .description {
    max-width: 700px;
    margin: 0 auto;
}
.evergreen-list .evergreen-item {
    margin-top: 50px;
}
.evergreen-list .evergreen-item h6 {
    margin-top: 30px;
    font-weight: 600;
}